package com.telnetnz.ticketdesk.dao.entity;

import java.io.Serializable;
import java.util.Date;

public class TicketCommentEntity implements Serializable {

	private static final long serialVersionUID = -1438230884897892450L;

	private long id;
	private long ticketId;
	private String content;
	private long creatorId;
	private long updaterId;
	private Date createTime;
	private Date updateTime;

	public void initialize() {
		content = "";
		createTime = new Date();
		updateTime = new Date();
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public long getTicketId() {
		return ticketId;
	}

	public void setTicketId(long ticketId) {
		this.ticketId = ticketId;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public long getCreatorId() {
		return creatorId;
	}

	public void setCreatorId(long creatorId) {
		this.creatorId = creatorId;
	}

	public long getUpdaterId() {
		return updaterId;
	}

	public void setUpdaterId(long updaterId) {
		this.updaterId = updaterId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}
